Method GetDescendantsAsync<TProps>(IRedbObject, int?, CancellationToken)
Get all object descendants (uses _securityContext and config.DefaultCheckPermissionsOnLoad).
public Task<IEnumerable<TreeRedbObject<TProps>>> GetDescendantsAsync<TProps>(IRedbObject parentObj, int? maxDepth = null, CancellationToken cancellationToken = default) where TProps : class, new()